<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Lenovo
  Date: 2025-02-27
  Time: 9:39
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<a href="addPage">增加</a>
<table border="1">
    <tr>
        <td colspan="3" align="center">电子备件管理系统</td>
    </tr>
    <tr>
        <td>型号</td>
        <td>出厂价格</td>
    </tr>
    <tr>
        <c:forEach items="${list}" var="electron">
        <td>${electron.type}</td>
            <%--        <td>${electron.createdTime}</td>--%>
        <td>${electron.price}</td>
    </tr>
    </c:forEach>
</table>
</body>
</html>
